package com.example.model23.test2;

// 具体策略类
    public class Addition implements Strategy {
        @Override
        public double doOperation(double num1, double num2) {
            return num1 + num2;
        }
    }